<template>
	<empty><span>暂无版权信息</span></empty>
</template>
<script>
	import Empty from './../public/Empty'
	import Promise from 'promise-polyfill'
	if (!window.Promise) {
		window.Promise = Promise
	}
	import 'whatwg-fetch'

	export default {
		components: {
			Empty
		},
		created: function () {
			/* global fetch:false */
			fetch('http://192.168.31.11:7101/book').then((res) => {
				return res.json()
			}).then((json) => {
				console.log(json)
			}).catch((e) => {
				console.log('something err', e)
			})
		}
	}
</script>